package com.ssmintegration.entity;

import java.io.Serializable;

public class Account implements Serializable {

    private int id;
    private String uname;
    private double money;

    public Account() {
    }

    public Account(int id, String uname, double money) {
        this.id = id;
        this.uname = uname;
        this.money = money;
    }

    public Account(String uname, double money) {
        this.uname = uname;
        this.money = money;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", uname='" + uname + '\'' +
                ", money=" + money +
                '}';
    }
}
